const {
  model
} = require( '../db' )
const schema = require( '../schemas/hotSchema' )
const BaseModel = require( './baseModel' );
const hot = model( 'Hot', schema )

class hotModel extends BaseModel {
  constructor( db ) {
    super( db );
  }
  addHot ( data ) { 
    return this.store( data );
  }
}


module.exports = new hotModel( hot );